10
|
How do I bring/ensure a specified face to the front
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXTREECUBELib' for the library: 'ExTreeCube 1.0 Control Library'
#import <ExTreeCube.dll>
using namespace EXTREECUBELib;
*/
EXTREECUBELib::ITreeCubePtr spTreeCube1 = GetDlgItem(IDC_TREECUBE1)->GetControlUnknown();
spTreeCube1->PutIdentifyFace(EXTREECUBELib::IdentifyFaceEnum(EXTREECUBELib::exIdentifyFaceFrame | EXTREECUBELib::exIdentifyFaceName | EXTREECUBELib::exIdentifyFaceCaption));
spTreeCube1->PutVisibleFace(EXTREECUBELib::exTopFace);
|
9
|
How do I bring/ensure a specified face to the front
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXTREECUBELib' for the library: 'ExTreeCube 1.0 Control Library'
#import <ExTreeCube.dll>
using namespace EXTREECUBELib;
*/
EXTREECUBELib::ITreeCubePtr spTreeCube1 = GetDlgItem(IDC_TREECUBE1)->GetControlUnknown();
spTreeCube1->PutIdentifyFace(EXTREECUBELib::IdentifyFaceEnum(EXTREECUBELib::exIdentifyFaceFrame | EXTREECUBELib::exIdentifyFaceName | EXTREECUBELib::exIdentifyFaceCaption));
spTreeCube1->EnsureVisibleFace(EXTREECUBELib::exTopFace,vtMissing);
|
8
|
It sounds like the BackColor property does nothing
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXTREECUBELib' for the library: 'ExTreeCube 1.0 Control Library'
#import <ExTreeCube.dll>
using namespace EXTREECUBELib;
*/
EXTREECUBELib::ITreeCubePtr spTreeCube1 = GetDlgItem(IDC_TREECUBE1)->GetControlUnknown();
spTreeCube1->PutBackColor(RGB(255,0,0));
spTreeCube1->PutTransparent(50);
|
7
|
Is there any property to identify the faces I can fill in
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXTREECUBELib' for the library: 'ExTreeCube 1.0 Control Library'
#import <ExTreeCube.dll>
using namespace EXTREECUBELib;
*/
EXTREECUBELib::ITreeCubePtr spTreeCube1 = GetDlgItem(IDC_TREECUBE1)->GetControlUnknown();
spTreeCube1->PutIdentifyFace(EXTREECUBELib::IdentifyFaceEnum(EXTREECUBELib::exIdentifyFaceFrame | EXTREECUBELib::exIdentifyFaceName | EXTREECUBELib::exIdentifyFaceCaption));
|
6
|
How can I prevent scrolling the control inside a face once the user rolls the mouse wheel
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXTREECUBELib' for the library: 'ExTreeCube 1.0 Control Library'
#import <ExTreeCube.dll>
using namespace EXTREECUBELib;
*/
EXTREECUBELib::ITreeCubePtr spTreeCube1 = GetDlgItem(IDC_TREECUBE1)->GetControlUnknown();
spTreeCube1->PutOnMouseWheel(EXTREECUBELib::exMouseWheelNothing);
|
5
|
Can I navigate through the faces 0 to 3 only, even with the keyboard
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXTREECUBELib' for the library: 'ExTreeCube 1.0 Control Library'
#import <ExTreeCube.dll>
using namespace EXTREECUBELib;
*/
EXTREECUBELib::ITreeCubePtr spTreeCube1 = GetDlgItem(IDC_TREECUBE1)->GetControlUnknown();
spTreeCube1->PutEnsureVisibleFaces(L"0,1,2,3");
spTreeCube1->PutAllowRotate(EXTREECUBELib::RotateEnum(EXTREECUBELib::exRotateRight | EXTREECUBELib::exRotateLeft));
spTreeCube1->PutIdentifyFace(EXTREECUBELib::IdentifyFaceEnum(EXTREECUBELib::exIdentifyFaceFrame | EXTREECUBELib::exIdentifyFaceName | EXTREECUBELib::exIdentifyFaceCaption));
spTreeCube1->PutEnsureVisibleFaceOnDblClick(VARIANT_FALSE);
|
4
|
It sounds like the BackColor property does nothing
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXTREECUBELib' for the library: 'ExTreeCube 1.0 Control Library'
#import <ExTreeCube.dll>
using namespace EXTREECUBELib;
*/
EXTREECUBELib::ITreeCubePtr spTreeCube1 = GetDlgItem(IDC_TREECUBE1)->GetControlUnknown();
spTreeCube1->PutBackColor(RGB(255,0,0));
spTreeCube1->PutShowAs(EXTREECUBELib::exOrthographic);
spTreeCube1->PutAlwaysEnsureVisibleFace(EXTREECUBELib::exDisableEnsureVisibleFace);
spTreeCube1->PutRotX(0.328184);
spTreeCube1->PutRotY(0.967723);
|
3
|
Is it possible to let the control shows/rotates just the left/right side
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXTREECUBELib' for the library: 'ExTreeCube 1.0 Control Library'
#import <ExTreeCube.dll>
using namespace EXTREECUBELib;
*/
EXTREECUBELib::ITreeCubePtr spTreeCube1 = GetDlgItem(IDC_TREECUBE1)->GetControlUnknown();
spTreeCube1->PutAllowRotate(EXTREECUBELib::RotateEnum(EXTREECUBELib::exRotateRight | EXTREECUBELib::exRotateLeft));
|
2
|
How can I disable changing the view if the user presses SPACE or digit keys
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXTREECUBELib' for the library: 'ExTreeCube 1.0 Control Library'
#import <ExTreeCube.dll>
using namespace EXTREECUBELib;
*/
EXTREECUBELib::ITreeCubePtr spTreeCube1 = GetDlgItem(IDC_TREECUBE1)->GetControlUnknown();
spTreeCube1->PutAllowEnsureVisibleFaceOnKey(EXTREECUBELib::exEnsureVisibleFaceOnKeyDisabled);
|
1
|
I've noticed that I can not show the part of the control as I drag, once I release the mouse button
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXTREECUBELib' for the library: 'ExTreeCube 1.0 Control Library'
#import <ExTreeCube.dll>
using namespace EXTREECUBELib;
*/
EXTREECUBELib::ITreeCubePtr spTreeCube1 = GetDlgItem(IDC_TREECUBE1)->GetControlUnknown();
spTreeCube1->PutIdentifyFace(EXTREECUBELib::IdentifyFaceEnum(EXTREECUBELib::exIdentifyFaceFrame | EXTREECUBELib::exIdentifyFaceName | EXTREECUBELib::exIdentifyFaceCaption));
spTreeCube1->PutAlwaysEnsureVisibleFace(EXTREECUBELib::exDisableEnsureVisibleFace);
|